package com.doublefish.doublefishrobot.utils.network;

import com.doublefish.doublefishrobot.utils.MD5Utils;


/**
 * 作者:dugaofeng on 2024/10/17 09:20
 */
public class TokenBean {

    private String ts;
    private String sign;

    public TokenBean() {
        long time = System.currentTimeMillis();
        ts = time + "";

        // md5('df' + token + '2024')  //对token 加盐
        String msg = "df" + ts + "2024";
        sign = MD5Utils.md5(msg);
    }

    public String getTs() {
        return ts;
    }

    public String getSign() {
        return sign;
    }
}
